<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>图片背景</title>
    <style>
        p {
            background-image: url("CSS/2.jpg");
        }

        body {
            background-image: url("CSS/2.jpg");
        }
    </style>
</head>
<body>
<p>本段以一幅图像作为背景！</p>
</body>
</html>